/**
 * 
 */
package domain;

/**
 * @author grupo22
 *
 */
public class Vote {
	private User user;
	private Product product;
	private Article article;
	
	public Vote(User user, Product product) {
		this.user = user;
		this.product = product;
		this.article = product.getArticle();
	}

	public User getUser() {
		return user;
	}

	public Product getProduct() {
		return product;
	}

	public Article getArticle() {
		return article;
	}	
}
